import request from '@/util/request'
import baseUrl from './base'

export function insertErpMaterialAction(data) {
  return request({
    url: baseUrl + '/erp/material/action/insert',
    method: 'post',
    data
  })
}

export function listErpMaterialAction(data) {
  return request({
    url: baseUrl + '/erp/material/action/list',
    method: 'post',
    data
  })
}

export function deleteErpMaterialAction(data) {
  return request({
    url: baseUrl + '/erp/material/action/delete',
    method: 'post',
    data
  })
}

export function getErpMaterialAction(data) {
  return request({
    url: baseUrl + '/erp/material/action/get',
    method: 'post',
    data
  })
}

export function updateErpMaterialAction(data) {
  return request({
    url: baseUrl + '/erp/material/action/update',
    method: 'post',
    data
  })
}

